getScaledMaximumFlingVelocity
open fun getScaledMaximumFlingVelocity(@NonNull context: Context, @NonNull config: ViewConfiguration, inputDeviceId: Int, axis: Int, source: Int): Int(source)
Maximum absolute value of velocity to initiate a fling for a motion generated by an InputDevice with an id of inputDeviceId
, from an input source
and on a given motion event axis
.
Similar to getScaledMinimumFlingVelocity, but for maximum fling velocity, instead of minimum. Also, unlike that method which returns Integer.MAX_VALUE
for bad input device ID, source and/or motion event axis inputs, this method returns Integer.MIN_VALUE
for such bad inputs.